/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mail.datamodel;

import javax.activation.DataSource;

/**
 *
 * @author damfercer
 */
public class IdDataSource {
    private DataSource dataSource;
    private String id;

    public IdDataSource(DataSource dataSource, String id){
        this.dataSource=dataSource;
        this.id=id;
    }
    /**
     * @return the dataSource
     */
    public DataSource getDataSource() {
        return dataSource;
    }

    /**
     * @param dataSource the dataSource to set
     */
    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }
}
